﻿//namespace ThingsGateway.Core.Service;

///// <summary>
///// 系统服务器监控服务
///// </summary>
//[ApiDescriptionSettings(Order = 185)]
//public class SysServerService : IDynamicApiController, ITransient
//{
//    ComputerService computer;
//    public SysServerService(RootServices  rootServices)
//    {
//        this.computer = rootServices.ComputerService;
//    }
//    /// <summary>
//    /// 服务器配置信息
//    /// </summary>
//    /// <returns></returns>
//    [HttpGet("/server/info")]
//    [AllowAnonymous]
//    public ComputerInfo GetServerInfo()
//    {
//        return computer.ComputerInfo;
//    }
//}